﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace GrayParrot.Web.Formly
{
    /// <summary>
    /// The Test Area Template Options Attribute...
    /// </summary>
    public class TextAreaTemplateOptionsAttribute : TextSizedTemplateOptionsAttribute
    {
        /// <summary>
        /// Gets or sets the rows.
        /// </summary>
        /// <value>
        /// The rows.
        /// </value>
        [JsonProperty(PropertyName = "rows", DefaultValueHandling=DefaultValueHandling.Ignore)]
        public Int16 Rows { get; set; }
        /// <summary>
        /// Gets or sets the cols.
        /// </summary>
        /// <value>
        /// The cols.
        /// </value>
        [JsonProperty(PropertyName = "cols", DefaultValueHandling = DefaultValueHandling.Ignore)]
        public Int16 Cols { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="TestAreaTemplateOptionsAttribute"/> class.
        /// </summary>
        public TextAreaTemplateOptionsAttribute()
        {

        }
    }
}
